<h1>News</h1>

<table class="record_properties">
    <tbody>
        <tr>
            <th>Id</th>
            <td>{{ entity.id }}</td>
        </tr>
        <tr>
            <th>Categoryid</th>
            <td>{{ entity.categoryId }}</td>
        </tr>
        <tr>
            <th>Newstitle</th>
            <td>{{ entity.newsTitle }}</td>
        </tr>
        <tr>
            <th>Newsbody</th>
            <td>{{ entity.newsBody }}</td>
        </tr>
        <tr>
            <th>Imgthumb</th>
            <td>{{ entity.imgThumb }}</td>
        </tr>
        <tr>
            <th>Imglarge</th>
            <td>{{ entity.imgLarge }}</td>
        </tr>
        <tr>
            <th>Isspecial</th>
            <td>{{ entity.isSpecial }}</td>
        </tr>
        <tr>
            <th>Isactive</th>
            <td>{{ entity.isActive }}</td>
        </tr>
        <tr>
            <th>Targetdate</th>
            <td>{{ entity.targetDate|date('Y-m-d H:i:s') }}</td>
        </tr>
        <tr>
            <th>Createdat</th>
            <td>{{ entity.createdAt|date('Y-m-d H:i:s') }}</td>
        </tr>
        <tr>
            <th>Createduserid</th>
            <td>{{ entity.createdUserId }}</td>
        </tr>
        <tr>
            <th>Updatedat</th>
            <td>{{ entity.updatedAt|date('Y-m-d H:i:s') }}</td>
        </tr>
        <tr>
            <th>Updatedid</th>
            <td>{{ entity.updatedId }}</td>
        </tr>
        <tr>
            <th>Updateduserip</th>
            <td>{{ entity.updatedUserIp }}</td>
        </tr>
    </tbody>
</table>

<ul class="record_actions">
    <li>
        <a href="{{ path('news') }}">
            Back to the list
        </a>
    </li>
    <li>
        <a href="{{ path('news_edit', { 'id': entity.id }) }}">
            Edit
        </a>
    </li>
    <li>
        <form action="{{ path('news_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
            <button type="submit">Delete</button>
        </form>
    </li>
</ul>
